<template>
  <div>
    <div>
      <h4>咳痰能力</h4>
      <el-row>
        <el-col :span="8" style="display: block">
          <span>咳痰能力: </span>
          <el-select v-model="pgForm.expectorate_ability" style="width: 50%">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
          级
        </el-col>
        <el-col>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.expectorate_ability_zywt">
              <el-checkbox label="肺部感染、咳嗽咳痰、痰不易咳出"></el-checkbox>
              <el-checkbox label="心肺功能减退、喘憋、夜间不能平卧"></el-checkbox>
              <el-checkbox label="心肺耐力降低、活动中喘憋、血氧下降较快，容易乏力出汗"></el-checkbox>
              <el-checkbox label="下肢肌力较弱、存在肌肉萎缩"></el-checkbox>
              <el-checkbox label="血糖控制不佳"></el-checkbox>
              <el-checkbox label="血压控制不佳"></el-checkbox>
              <el-checkbox label="平衡功能较差，跌倒风险较大"></el-checkbox>
              <el-checkbox label="步行能力减退，步行耐力无法满足日常生活"></el-checkbox>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "expectorate_ability",
  title: "咳痰能力",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        expectorate_ability_zywt:[],
        expectorate_ability: '',
      },
      options: [
        {
          value: '0',
          label: '0'
        },
        {
          value: '1',
          label: '1'
        },
        {
          value: '2',
          label: '2'
        },
        {
          value: '3',
          label: '3'
        },
        {
          value: '4',
          label: '4'
        },
        {
          value: '5',
          label: '5'
        },
      ]
    };
  },

}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-checkbox-group{
  padding: 10px 20px;
}
.el-checkbox{
  display: block;
  margin-bottom: 15px;
}
</style>

